package com.itheima.admin.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.model.common.admin.dtos.ChannelDto;
import com.itheima.model.common.admin.pojos.AdChannel;
import com.itheima.model.common.dtos.ResponseResult;

import java.util.List;

public interface AdchannelService extends IService<AdChannel> {
    public ResponseResult findbyNameAndPage(ChannelDto channelDto);
    public ResponseResult insert(AdChannel adChannel);
    public ResponseResult update(AdChannel adChannel);
    public ResponseResult deleteById(Integer id);
    public List<AdChannel> findAll();
}
